package com.jiezuo.flowable.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jiezuo.common.base.BaseEntity;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
* @description   动态表单知会消息
* @author        庞留杰
* @date          2024/09/29 11:44
* @version       V1.0
**/
//动态表单知会消息")
@Data
@TableName(value = "flw_my_notify")
public class MyNotify extends BaseEntity implements Serializable{
	private static final long serialVersionUID = 1L;

	//发布人")
	private String publisher;

	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	//发布日期")
	private Date release_date;

	//接收人")
	private String receiver;

	//流程实例ID")
	private String process_instance_id;

	//是否已已读：0未，1已")
	private String is_check;

	//消息标题")
	private String title;

    //消息内容")
    private String content;

	//备注说明")
	private String note;

    @TableField(exist = false)
    //发布人")
    private String publisher_name;

    @TableField(exist = false)
    //接收人")
    private String receiver_name;

    @TableField(exist = false)
    //填写信息")
    private String data;

    //知会消息设置ID")
    private String setting_id;

    @TableField(exist = false)
    //知会消息类型")
    private String type;
}
